#ifndef __COMMON_H__
#define __COMMON_H__

union float2char {
    float val;
    unsigned char buf[4];
};

union float2short {
    float val;
    unsigned short buf[2];
};

extern void swap_short_data(short *a, short *b);

#endif /* __COMMON_H__ */
